<template>
    <div id="app">
  		<keep-alive exclude = "detail"> <!-- 缓存页面数据（数据加载一次后，再次切换到该页面不会再次发送请求） -->
    		<router-view/>
  	 	</keep-alive>
    </div>
</template>

<script>
export default {
  name: 'App'
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
</style>
